<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <script src="../js/speculate_paid.js"></script>
</head>
<body>
<div id="test"></div>
<script type="application/javascript">
    for (var i = 0; i < 1000; i++) {
        var value = speculatePaid(i);
        console.log(i);
        console.log(value);
        var objP       = document.createElement("p");
        objP.innerHTML = JSON.stringify(value);
        document.getElementById("test").appendChild(objP);
    }
</script>
</body>
</html>